{% extends "base.html" %}
{% block title %}Identificaci&oacute;n de Swea{% endblock %}
{% block content %} 

<div id="identificacion">
	<form id="validar" method="post" action=".">{% csrf_token %}
		<h1>Introduzca su usuario y contraseña</h1>
	        {% if form.errors %}
        	        <p id="errores">Su nombre o password no coinciden. Pruebe de nuevo.</p>
        	{% endif %}

		<table>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
    			<td>{{ form.username.label_tag }}</td>
    			<td>{{ form.username }}</td>
		</tr>
		<tr>
    			<td>{{ form.password.label_tag }}</td>
    			<td>{{ form.password }}</td>
		</tr>
		</table>
		<div class="botonIdentificacion"><input type="submit" value="Entrar" /></div>
		<input type="hidden" name="next" value="{{ next }}" />
	</div>	
	</form>
{% endblock %}

